Duke comes back to beat Tar Heels