Optimize the vec4_to_index, which implements %ix/vec4 instructions.