Two-sentence memo ends days-long threats that sent officials, agencies and nonprofits into tailspin over ‘unconstitutional’ threats