Add some utilities to iterator_range for trimming a range and constructing one from...