UIA in MS Word: Stop announcing the next bullet on the previous line (#10467)
* 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
* Fix linting issues.
* Fix typo
Co-Authored-By: Leonard de Ruijter <leonardder@users.noreply.github.com>