Optimization of multistage cyclic service of a production line by a transmanipulator