We were not rehashing the hash table before performing assignment, which
resulted in greatly sub-optimal performance when compared to the
otherwise equivalent copy constructor.
This patch also adds a test that will start failing should a performance
difference be reintroduced in the future.
rdar://89335436
Please update the description/title to mention unordered_set and the multi versions.