minimal_residual_method : exit conditions improved