Reorder iterative solvers parameters

This also adds shortcut for the case when the system matrix coincides
with the one used for the construction of AMG.