A judge has thrown out a conviction and ordered a retrial for an activist after she laughed during the confirmation hearing of Attorney General Jeff Sessions, according to the Reuters news agency.