remove duplicates in sorted list II