Fix interaction of “predetermined_variables” with “histval” (preprocessor#47)

Also add a corresponding regression test case.
11 jobs for master in 67 minutes and 20 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #16138
build_binaries

00:13:02

passed #16139
build_doc

00:01:11

 
  Test And Pkg
passed #16142
macOS
pkg_macOS

00:13:28

passed #16140
pkg_source

00:01:35

passed #16141
pkg_windows

00:31:47

passed #16146
test_dynare++

00:11:39

passed #16143
test_matlab

00:52:48

manual #16145
allowed to fail manual
test_octave
manual #16144
allowed to fail manual
test_old_matlab
 
  Deploy
passed #16147
restricted
deploy_manual_unstable

00:00:12

passed #16148
restricted
deploy_snapshot_unstable

00:01:15