Southern California Edison has agreed to pay $360 million to local governments to settle lawsuits over deadly wildfires sparked by its equipment during the last two years, including one blamed for a mudslide that killed more than 20 people, the utility and attorneys announced Wednesday.