Small cleanup for UselessEqualityChecks.