Campaign for Jewish ex-CIA agent had been beset with accusations of racism; she repeatedly apologized for sharing a 2017 article with anti-Semitic expressions