A federal judge in Boston invalidated Trump administration regulations that sought to limit visa stays for foreign students and journalists. The…