Christopher C. Miller, director of national counterterrorism center, will be acting secretary of defense.