Fix TH1::Rebin for bug ROOT-6706