JetBlue abandoned its proposed acquisition of Spirit only weeks after a federal judge ruled the deal would harm competition.