Fix hashing algorithm in the PactRecordComparator

The hash() method in the PactRecordComparator does not work well on composite integer keys with correlated values. A workaround that solved the problem for my use-case is to use separate salt prime multipliers for the hashes of each key component.