This is the second half of the loop flattening pass, to enable
versioning when the multiplication of the array bounds cannot
be statically proven not to overflow.
Still need to do something about LAA creating a new Loop
Manager, breaking the pass-pipelines.ll test.