NC State upends Duke, 84-76