Fix error with UCLO bytecode generation and closure

When UCLO instruction is emitted for return instructions the need_close
flag should be kept because other branch of the code may need the UCLO
instruction as well.
Simplify code in proto's bytecode generator
Fuse UCLO and JMP instruction on block's scope exit