Cache the result of splitEquationIntoChunks.

Speeds up the test program
https://github.com/nasailja/pamhd/blob/master/tests/eigenlab/performance1.cpp
by about 4x.