Refactored with-merged-pipes to reuse rename-pipe op