White visions's primary programming was to kill Vision, not wanda. At that time Wanda was just in his way. Remember the general said it was part of his perfect crime to blame white vision on Wanda. That's why they had the whole discussion about theseus's ship and who was the real vision...