Three companies with ties to former chemical maker DuPont agreed to pay $1.185 billion in the first major settlement in a landmark environmental battle in which hundreds of communities claim that “forever chemicals” in firefighting foam contaminated drinking water.