nir: fix inserting the break instruction for partial loop unrolling
Fixes a GPU hang on RADV with Lords of the Fallen.
I narrowed it down to 3 similar vertex shaders which caused an infinite loop because the break instruction was added to the wrong block.