A settlement has been reached just two days after district attorneys from 25 California counties filed a lawsuit against Tesla over allegations the automaker repeatedly mishandled hazardous waste at its facilities throughout the state. Tesla has agreed to pay $1.3 million in civil penalties and $200,000 to reimburse the costs…