U.S. Military Says Detainee Plotted Attack