This patch simplifies the comparison of unordered multiset and multimap by first
trying to find a common prefix between the two containers, in case they
happen to be ordered the same.
This also adds some tests for corner cases of unordered_{multimap,multiset}
comparison that wasn't tested previously.
This should be extracted into an implementation-detail function and used in both the headers and this benchmark, instead of copy-pasting.