BLD: split id_dist fortran subroutines less
Merge pull request #2817 from pv/fortran-split-less

BLD: split id_dist fortran subroutines less