port "Don't ruin input QAST in pointy if/while." to jvm backend

That is, we set blocktype to 'declaration' while compiling it to jast,
and now set it to its original value afterwards.