ENH faster unique_labels for big sequences of sequences

master redundantly converts each sequence to a `set` before union.