feat: add term offset support to the `grind` E-matching modulo (#6533)

This PR adds support to E-matching offset patterns. For example, we want
to be able to E-match the pattern `f (#0 + 1)` with term `f (a + 2)`.
7 files changed