A federal judge in Massachusetts has temporarily blocked President Trump’s plan to cut funding for the National Institutes of Health.