hash for IntSet
Merge pull request #7532 from lendle/IntSet-hash

hash for IntSet