A company that operates 130 fitness centers has agreed to pay the government to resolve a pandemic-era loan dispute.