fix: theorem activation when using multiple `grind` attributes

This PR fixes `grind` dropping E-matching theorems from custom `grind` attributes when a partially activated theorem was reinserted under the same symbol.

Closes #13725.
4 files changed