JetBlue and Spirit Airlines said they will appeal a judge’s ruling that blocked their merger, after the Justice Department had argued it would reduce competition and harm consumers.