Fixed a bug in specialize_branched_loops that was causing the generation of bad stmts in certain cases where the branching limit was being hit.
Fixed a bug in specialize_branched_loops that was causing the generation of bad stmts in certain cases where the branching limit was being hit.


Former-commit-id: 0f32c9ba43ecfe4b8d111d2a7b8724ce62f688d6
darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide