Republican lawmakers are moving to hobble the ability of the attorney general to force county supervisors to do what courts have said is their job: certify election results.