scilib/lsqmdl.py: correct automatic paramname inference