Refactor implementation of Iterator::ChainIterator
#13412
Merged
Iterator::ChainIterator
#13412