Thousands of U.S. law firms, including several directly affiliated with President Donald Trump, received at least $150,000, or millions of dollars in some cases, from the federal government’s coronavirus loan program.