Remove EqualsPatternClass.

Detritus from the classic pattern matcher, which was recently
removed 6084d2d9.
Merge pull request #1896 from retronym/topic/remove-equals-pattern-class

Remove EqualsPatternClass.