Delete element from linked list given a single node.