JetBlue announced Monday it reached an agreement to terminate its $3.8 billion merger with Spirit Airlines.