perf: restrict nontrivial class projection classification to reducible transparency

This PR fixes a performance regression introduced by enabling
`backward.whnf.reducibleClassField` (PR #12538). The `isNonTrivialRegular`
function in `ExprDefEq` was classifying class projections as nontrivial at all
transparency levels, but the extra `.instances` reduction in `unfoldDefault`
that motivates this classification only applies at `.reducible` transparency.
At higher transparency levels, the nontrivial classification caused unnecessary
heuristic comparison attempts in `isDefEqDelta` that cascaded through BitVec
reductions, causing elaboration of `Lean.Data.Json.Parser` to double from
~3.6G to ~7.2G instructions.

The fix restricts the nontrivial classification to `.reducible` transparency
only, matching the scope of `unfoldDefault`'s extra reduction behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 files changed