Judd Trump needed a change of shoes to bring him back from the brink of a shock Masters exit as he came back from 5-3 down to beat Barry Hawkins 6-5.