How do I write a hash function for an unordered_map that takes a pair as key but return the same val