Implement == and != operators on Pair`1