Fix ICE when checking overloaded call with wrong arity

Closes #16939