The $300,000 settlement will go to two officers who sued over harassment.