[GiNaC-list] [patch] Improve automatic algorithm selection in matrix::solve()