The defense secretary used the slur while campaigning for Republican Rep. Zach Nunn, then called the military “gender-neutral.”