Rwanda's foreign minister says his country is in the "spirit" of giving migrants "another chance".