The chancellor is set to unveil plans next year on how to meet Labour’s pledge of devoting 3.5% of GDP to defence