NBC: Arizona official who defended state's elections loses GOP primary