isl_qpolynomial_fold_move_dims: fix moving of input dimensions