[mcs] Improve scoring of failed overload resolution. Fixes #22989