The U.S. president had signed the executive order after the U.S. Supreme Court rejected his initial effort to impose restrictions.