Enable ImpredicativeTypes internally when typechecking selector bindings
This is necessary for certain record selectors with higher-rank
types, such as the examples in #18005 (closed). See
Note [Impredicative record selectors]
in TcTyDecls
.
Fixes #18005 (closed).