[x86] Refactor the element insertion logic in the new vector shuffle