fix: `grind` canonicalizer state management (#6649) This PR fixes a bug in the term canonicalizer used in the `grind` tactic.
This is the repository for Lean 4.
See Setting Up Lean.
Please read our Contribution Guidelines first.
See Building Lean (documentation source: doc/make/index.md).