Resolve switch block without fake sections blocks. Fixes #10781