The deal agrees to ‘transition away’ from fossil fuels for the first time but falls short of phasing them out.