Judd Trump survived a fightback from Tom Ford to edge through 10-8 to the second round of the Dafabet World Championship.