The `matchType` created by the macro is bad for dependent pattern matching. The `tst8` and `tst9` at `matchTac` failed to be elaborated when using the macro.
elabTermEnsuringType
This commit also fixes a match-expression error location issue.