This detainment is illegal, it doesn't matter what the hell they did. Release them, and try again legally this time.
http://en.wikipedia.org/wiki/Unlawful_combatant
The law of unlawful combatants is, however, pretty poorly developed. It needs to be the subject of serious thought rather than political football.
...virtually guaranteeing impeachment, and/or setting a precedent for a successor to disregard, say, human rights laws. Think of it like legacy code; it may be badly written, obsolete, and a waste of resources to remain compatible with it, but you may not have have any other choice. Historical figures often appear to have acted more boldly and decisively than those in politics today, because historical review necessarily involves simplification and a focus on outcomes. When you dig deeper, though, the process of change was often equally messy and haphazard.
Failing that, we could live up to our so-called standards and laws and live with the consequences of torturing him, ie that all evidence tainted by torture is now inadmissible.
That's what any sane man would do about, say, Khalid Sheikh Mohammed?