A memo that paused federal grants and loans briefly put tens of millions of dollars in local funding for housing, public works and more in jeopardy.