Spirit Airlines filed a Chapter 11 bankruptcy petition after working out terms with bondholders. The U.S. budget airline has lost more than $2.5 billion since the start of 2020.