unpack-trees: get rid of *indpos parameter.