Firefighters on Saturday were trying to cool a chemical tank “literally on the edge” of exploding in Southern California as they worked to avert a disastrous “worst-case” scenario, the incident’s…