Spirit Airlines, struggling with its second recent bankruptcy, announced it will end service to two airports and suspend about 40 routes.