removing duplicate entries from multi-d array in python,[list(t) for t in set(tuple(element) for element in xx)]