GH-1590 - Hash#hash should not return the hash size when keys & values are the same.

Fixing #1590