Rise funded largely through borrowing will pay for biggest rearmament since cold war, says prime minister