Correct SSA transformation for break and next: use correct variable indices