Gen. Timothy Haugh’s firing as head of the NSA and U.S. Cyber Command has left lawmakers worried about the future of the nation’s cyber defenses.