A federal judge in the U.S. has blocked the Trump administration's decision to prohibit foreign students from enrolling at Harvard University.