scan.cc: add_parameter_bounds: double check that there are no unnamed parameters