Detention ruling shackles troops, says Philip Hammond