Add comments in needOpEquals and needToHash
fix Issue 12255 - opCmp requirement for AAs breaks code

AAs should require equality and hashing for key types.
Merge pull request #3711 from 9rnsr/fix12255

[REG2.066a] Issue 12255 - opCmp requirement for AAs breaks code