[SLP]Fix crash from runtime alias check reusing body scalars
Emit the check at the block's first insertion point instead of before
the terminator. SCEV expansion reuses any dominating instruction, so
at the terminator it could pick up body scalars that are later moved
into the vector block and deleted, causing a crash.
Reviewers:
Pull Request: https://github.com/llvm/llvm-project/pull/214211