American Airlines loses key decision in bankruptcy court