Military officials say some of the freed captives showed signs of torture and mistreatment .