Airlines ordered to end holiday flight chaos