County to pay $412,000 in deputy groping case