Qantas dives into the red, says it may cut routes