A judge ruled that portions of 9/11 mastermind Khalid Sheikh Mohammed's 2007 confession were involuntary, a decision that could further stall the long-delayed trial.