On the eve of his trial last month, the judge barred the government from calling a key witness because the witness had been identified while Ghailani was being held at a secret CIA camp where harsh interrogation techniques were used.