Command-line solver was dividing up non-square puzzles the wrong way round. [originally from svn r5691]