By ELLEN KNICKMEYER WASHINGTON — A military judge has ruled that plea agreements struck by alleged Sept. 11 mastermind Khalid Sheikh Mohammed and two co-defendants are valid, voiding an order by Defense Secretary Lloyd Austin to throw out the deals, a government official said Wednesday. The official spoke on condition of anonymity because the order by the judge, Air Force Col.