$40M gift earns donors the right to curriculum review