sim1_linear.m: Fix evaluation of dynamic model at deterministic stead…
…y state
Did not correctly account for exogenous variables being potentially present with leads and lags
Related to https://forum.dynare.org/t/stack-solve-algo-0-reports-error/10488