Delta Air Lines has agreed to pay millions to settle a lawsuit after one of its planes dumped fuel over schoolyards in Los Angeles.