The directive builds on a long-running effort to enlist U.S. embassies in shaping migration policy abroad.