A judge ruled that plea bargains struck by alleged 9/11 plotters were valid, striking down an order from the Pentagon.