pip.c: extract out move_parameters