The exclusion of any mention of fossil fuels caused a rift, and the talks had become the longest in summit history, going into a second day of overtime.