Court Upholds Military Proceedings for Detainees