removeFirstOrNull

Removes and returns the first element, or null if the deque is empty.