Her opponents said she did too little to protect women at the statehouse, while some Republicans called her orchestration of the attorney general investigation into Durham an unconstitutional witch hunt.