Lifeline for Rex Airlines as federal government takes on $50m debt