Use ScopeStatement instead of CompoundStatement for the goto patch placeholder inside foreach
`LabelStatement::flatten` should reuse 'this' for the call after semantic.
fix Issue 11653 - No error when forgetting break with range cases.
Merge pull request #2905 from 9rnsr/fix11653

Issue 11653 - No error when forgetting break with range cases