remove all duplicates node from sorted list