The signed legislation moves Arizona's primary elections from August to July.