Appeals court throws out plea deal for alleged mastermind of Sept. 11 attacks