isl_qpolynomial_morph: properly handle change in number of variables