R600/SI: Improve legalization of vector operations