Update ImmutablePair to be not final

The sibling class MutablePair is not final, and the JavaDoc for ImmutablePair also states it is not final: "The class is also not {@code final}, so a subclass could add undesirable behaviour".