Remove redundant TypeInfo linking
fix xopEquals generation when identity opEqual defined
Generate toHash method for correct hashing

If struct member field has toHash method, generate toHash implicitly to guarantee `a != b || a.toHash() == b.toHash()`.
Improve condition for AA key types