7d8060bc1 / D111574 exposed an assertion failure in setInsertPointAfterBundle,
when the extractelement instruction is not in the same basic block as
the rest of the instructions in the bundle.
Updated the insertion point to avoid the assertion failure.
Fixes https://github.com/llvm/llvm-project/issues/55796 and added
testcase.