Fix for grid_split() for when the number of divisions is more than the total number of points.
The last divisions are discarded in this case.
Authored by: bugman 2010-02-23
Parent: [r67]
Child: [r69]