Enumerable Union Find (amortized O(log n))