Republicans set to retain majorities in NH House, Senate