Tar Heels top Cornell 7-4 in NCAA tournament