This functionality is already tested in std/containers/sequences/vector/iterators.pass.cpp.
It was not tested in string.iter/iterators.pass.cpp, so I've also added a test there (and refactored the original to reduce tedium). The added test fails before this patch.
list has debug iterators, but it's not random-access (so it has no </<= operators to be affected by this patch).
deque is random-access, but it doesn't have debug iterators (so it is unaffected by this patch).
This came, obliquely, out of D100866. Fixing this test now means I won't have to mark it XFAILed in debug mode because it no longer fails.