Overnight rain helped firefighters tame wildfires that devoured homes and people in their cars, leaving dozens dead in Portugal.