Prefer exact match when electing suitable semver

This is only relevant for semvers with build info (e.g. `1.2.3+patch.1`) which are "semver equal" to their non-build info counterparts (e.g. `1.2.3`).

This addresses #876.