Settlement follows scandal over relationships with subordinates