Background
The CheckUser config $wgCheckUserGroupRequirements and the core hook SpecialUserRightsChangeableGroups were added in T393615: Impose technical restrictions on granting the `temporary-account-viewer` group as a quick way to enforce group requirements.
Following T409717: Configure temporary-account-viewer group to use RestrictedGroups config, these are no longer needed, so they should be removed.
Acceptance criteria
- Remove $wgCheckUserGroupRequirements, SpecialUserRightsChangeableGroups and related code