perf: read `has_univ_param` and `get_loose_bvar_range` from the stored `Expr.data`

This PR makes the kernel read `has_univ_param` and `get_loose_bvar_range` from the data word stored in each expression, as `hash` and `has_fvar` already do, instead of calling into Lean.

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