State lawmakers on Thursday gutted a bill that would have allowed litigants to disqualify courts of appeal justices, thwarting advocates unhappy with a panel's actions in a pending voting rights case.