Ding takes control of Crucible semi-final