Judd Trump booked his place in the quarter-finals of the UK Championship at York Barbican after a final-frame decider against John Higgins.