Create deprecation warning for switch with single case
In #599 with discussed the usage of a switch expression with only an else
case. Before changing the language, we could already generate a deprecation warning for switch expressions with a single case (regardless of the reason), as the whole switch expression can be replaced by the case value.