fix: `grind` theorem activation

This PR fixes E-matching theorem activation in `grind`.

Fixes #9856
2 files changed