Authorities have lifted an evacuation order for nearly 200,000 California residents who live below a dam with a damaged spillway that threatened to collapse and cause catastrophic flooding.