Scripting: Clean up locals after break/continue

The implementation of break and continue previously did not account for local variables being declared inside a loop. Break and continue now write commands to free all locals before jumping out of a loop. Note: We don't remove their symbols here as this happens on the loop's closing bracket.