Frances Tiafoe lost the opening set and then reversed the match by winning the remaining required sets.