Fix a bug about generating undef operand when optimising shuffle vector and insert element in instruction combine.