let replaceByClumps return a list of tuples with new clump ids and associated sphere ids