Ted Cruz edges closer to Donald Trump