Ensure original tags and line numbers are preserved with ramsey_model

In particular, introduce a method for clearing all equations, so that tags and
line numbers are also cleared.

Ref. dynare#1685
parent 05f00aa3
Pipeline #2798 passed with stages
in 8 minutes and 47 seconds