Fixed infinite loop for expressions of the form (x*C + y%C) + z%C.
Fixed infinite loop for expressions of the form (x*C + y%C) + z%C.


Former-commit-id: 28f27fb727e7f34fa67396a7f11b00d4c35cac2d
darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,Trass3r/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide,darkbuck/Halide