Fix for PR2607: SCEV miscomputing the loop count for loops with an