Fix ICE when reporting closure and proc mismatch

Closes #13599