The complex deal also brought home two sons of a Minnesota man who fought for ISIS