Simplify vec_merge according to the mask.