The suit claimed that the auto manufacturer made and sold diesel cars that contributed to smog and respiratory illnesses.