Print a friendly error for the if-let construct without an else block

Fixes #19991.
@jakub- Wonderful! I should have thought of that. I will adopt your suggestion.