Researchers from the University of Colorado Boulder found women in national legislatures spend more on education and health care, up to a point.