US appeals court throws out plea deal for alleged mastermind of 11 September terror attacks