Update KeyBag.new-from-pairs so that it doesn't issue warnings.