A judge has issued a temporary block on an executive order from President Donald Trump targeting the major law firm that acted for Hillary Clinton.