Firefighters gained the upper hand on a wildfire northwest of Los Angeles that burned about 1,240 acres of land, forced the closure of parts of a major highway and led to evacuations