feat: check pattern coverage in `grind_pattern`

This PR adds pattern validation to the `grind_pattern` command.
The new `checkCoverage` function will also be used to implement the attributes
`@[grind_eq]`, `@[grind_fwd]`, and `@[grind_bwd]`.
2 files changed