LATAM Airlines reports a loss of $890 millon in second quarter