The Trump administration illegally froze more than $2 billion in grants earmarked for Harvard University when it failed to offer an explanation as to how cutting the funds addressed the government’s stated goal of ending antisemitism on campus, a Massachusetts federal judge ruled Wednesday.