The torture was necessary, because there's no way a solider is going to spill government secrets because they feel sympathetic. Revealing classified information is considered an unforgivable offense in any type of government position.
And if you really think about it: he's tied up; in a few hours, he and the other…