The chancellor insisted he is ‘100 per cent’ committed to spending three per cent of GDP on defence