The government will pay millions of dollars in one settlement with hundreds of conservative groups and admit wrongdoing, though pay no damages, in another.