Use std::deque instead of std::list in IndexedList

We choose faster iteration over rare slower deletion in the middle.