Fixes the issues from the previous PR. It's a simple fix — we don't merge consecutive blocks if the successor block is some terminal's fallthrough.