Ronnie O’Sullivan was not at his best but he had enough in the tank to beat Shaun Murphy in the semi-finals of the Masters.