Herbst battles candidates, media, in fourth GOP debate