The CIA’s torture and incommunicado detention of a Sept. 11 defendant rendered his later confessions inadmissible, the military judge in the case ruled Friday.