[flow] code cleanup
[flow] adds a new optimization pass to eliminate unused basic blocks
[flow] optimization improvements

- enables unused-block elimination pass (dead code elimination)
- adds constant-condition condbr folding
- adds branch-to-exit folding to reduce executed instruction count
[flow] minor code cleanup
[x0d] enable optimization level 1 by default
ChangeLog update