This changes try to remove the redundant loop guard,
For example, it transforms left code to right code:
```
newbound = min(n, c) newbound = min(n, c)
while(iv < newbound) { while(iv < newbound) {
A A
B B
C C
} }
if (iv != n) {
while (iv < n) { while (iv < n) {
A A
C C
} }
}
```
Depand on D102234