A succession of top agents, all women, were given an ultimatum: Take a different post or be asked to retire.