Firefighters gain ground against deadly Los Angeles blazes