TrieIter: iterator::setpos now takes a ref to Result