deque: Implement FromIterator

So that deque can be used with IteratorUtil::collect()