BP reaches $7.8 bln partial settlement in US oil spill trial