Tenet posts $398 in Q2 losses