Fix two bug in resol that lead to crashes instead of error messages when...

... loglinear option was used and steady state were negative