UNC finally shows guts, killer instinct in gritty win over Duke