UIAUtils.iterUIARangeByUnit: Doubly ensure that we do not start emitting a range passed the end of the given outer range.
Fix for #9613: The next bullet in MS Word is announced on the line above.
# Please enter the commit message for your changes. Lines starting