The pope urged migrants to embrace integration while warning traffickers that they “will have to appear before divine justice.”