Remove manual implementation of Hash for TreeSet. Derive it instead. This also derives Hash for TreeMap.