Nonlinear alignment of whole tractograms with the linear assignment problem