The PM said the government's commitment to defence was "absolute"