Delete all nodes with duplicate numbers from sorted linked list, leaving only distinct numbers.
Dummy Node Skip
When duplicates detected, skip the entire group by linking prev directly to the node after the group.