The new prime minister said ‘we will honour the commitments we’ve made as part of Nato’ as his defence secretary said Donald Trump is right to ask for more spending