Adding a final re-sampling at the end of the refinement process when 1st-kind points are used along with nested sampling to make best of maxSplitLength.
Adding a final re-sampling at the end of the refinement process when 1st-kind points are used along with nested sampling to make best of maxSplitLength.

ilovejs/chebfun,asgeirbirkis/chebfun,alshedivat/chebfun