Made (contain theSameElementsAs ...) take any Collecting instead of
just taking a GenTraversable.