Generate substatements as statements too #KT-5667 fixed

If we don't do that, sub-statements of if/when/for/while statements would be generated as expressions
with pushing UNIT-instances onto stack and than popping them