Prompted by a 2007 decision giving states “special solicitude,” partisan challenges to federal programs from coalitions of state attorneys general have surged.