[algorithms] Remove extra semicolons in check_iterator_range