Fixed bug in GOTO removal that generated incorrect code