Fixed bug in LinkedList#remove that could cause first to point to a dead node