McDermott impairment charges, project costs result in $2.8B loss in Q4