chore: check whether pointer equality implies structural equality in `grind`

This PR checks whether in the internal state of the `grind` tactic
pointer equality implies structural equality.
2 files changed