A judge with the U.S. Bankruptcy Court for the Southern District of New York signed off on the pact that will allow American Airlines' parent company, AMR Corp., to exit bankruptcy and merge with US Airways Group (NYSE. LLC) in a deal worth $17.2 billion.