Comments from the UK prime minister come after his defence secretary, Grant Shapps, said soldiers could be deployed to Ukraine to carry out training