The Murdochs had to fire Bill O’Reilly to avoid losing another generation of talented female employees