[VectorCombine] Fix iterator invalidation in foldSelectShuffle (#197914)
A loop in foldSelectShuffle walked shuffles with a range-for while
push_back-ing into the same SmallVector. Once the inner pushes grew the
vector past its current heap capacity the buffer was reallocated,
leaving the range-for iterator dangling.
Iterate the original entries by index instead.
Fixes #197910
Fixes #196709