The UK is weathering global challenges but rising deficit and defence costs loom over the economy