trie: fix each_reverse
trie: fix breaking out of the iterators early
auto merge of #5237 : thestinger/rust/iter, r=nikomatsakis