[MERGE #6072 @MikeHolman] make EndSwitch flush cases to the EndSwitch offset
[MERGE #6072 @MikeHolman] make EndSwitch flush cases to the EndSwitch offset

Merge pull request #6072 from MikeHolman:endswitchbug

This makes it so that if targetOffset is breaking out of a loop we won't have problems (could happen in wasm).

Now cases will go to EndSwitch, which just does direct branch to targetOffset. In normal cases, that will be cleaned up by RetargetBrToBr peep, so codegen doesn't change.

Fixes #6037

Microsoft/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore,Microsoft/ChakraCore