Appeals court blocks Trump’s mass freeze on Biden-era grants