Merge pull request dart-lang/pub_semver#45 from sigurdm/fix_version_range_union

Fix union of version ranges