REMOVE DUPLICATES FROM SORTED LIST