removed repeated code in BoundsInference
removed repeated code in BoundsInference

jiawen/Halide,ronen/Halide,kgnk/Halide,ronen/Halide,jiawen/Halide,psuriana/Halide,jiawen/Halide,kgnk/Halide,jiawen/Halide,ronen/Halide,psuriana/Halide,kgnk/Halide,kgnk/Halide,psuriana/Halide,kgnk/Halide,psuriana/Halide,psuriana/Halide,kgnk/Halide,kgnk/Halide,ronen/Halide,jiawen/Halide,psuriana/Halide,jiawen/Halide,ronen/Halide,jiawen/Halide,ronen/Halide,kgnk/Halide,psuriana/Halide,ronen/Halide,ronen/Halide