The visit follows the withdrawal of mining rights from Canadian and French companies by Niger’s military government.