Return the removed node's value