Freshman Anthony scores 34 points, No. 9 UNC beats Irish