Federal judge orders USCIS to resume processing green cards, work permits and asylum cases put on hold under nationality-based restrictions