Faced with its toughest challenge this season to date, No. 1 Clemson “found a way to win an ugly game” against an unranked but relentless North Carolina team.