feat: remove orphaned blocks from cfg to improve simplify_cfg
pass.
#6198
+12
−4
simplify_cfg
pass.
#6198