Tidy DENSESOLVE and correct one bug in SOLVEPDE.