Replace limited-size LinkedHashMaps with Caches in RecentEquivalenceResultStore