Ronnie O’Sullivan made a brilliant escape with one of his first shots in his match against Ding Junhui at the Northern Ireland Open.