feat: improve error messages in invalid match alternatives (#8368)

This PR improves the error messages produced by invalid pattern-match
alternatives and improves parity in error placement between
pattern-matching tactics and elaborators.

Closes #7170
35 files changed