Fix a bug in computing errors for efficiency for weighted events when eff+error >= 1 or eff-error <= 0. This fixes ROOT-6601