Try harder to ensure a strict weak ordering of overload candidates that
have arity mismatches.