CleanSlate Centers, which operates more than 80 facilities in 10 states including 18 in Massachusetts, will pay $3.2 million to the state and $1.3 million to the federal government, the company and the state attorney general's office said in separate statements.