AP calls GOP primary for Foley