Steady state calculation of Ramsey problem: fix bug when params are updated.

If the steady state file was modifying parameters, the changes were not taken
fully taken into account.

Thanks to Junior Maih for noticing and proposing the fix.

(cherry picked from commit def9ee92e560d1eeb7277d4be41315f139316caa)