An undef extract index can be arbitrarily chosen to be an
out-of-range index value, which would result in the instruction being undef.
This change closes a gap identified while working on lowering vector permute intrinsics
with variable index vectors to pure LLVM IR.
The checks were still dropped. Does -O0 prevent the inst simplify?
I really wish llc ran no IR optimizations, but we're stuck working around it