Andy Burnham has pledged to set out a path for expenditure on the military to reach 3 per cent of GDP, and then 3.5 per cent by 2035.