Improved implementation of collectInto methods in TreeEquiSet.