Federal judge strikes down Trump-era immigration policy barring applicants from 39 countries, calling it unlawful and discriminatory.