Contentious COP29 deal shows climate co-operation fraying at edges