California gives rivers more room to flow to stem flood risk