The COP27 climate talks in Egypt neared resolution Sunday with a last-minute deal to create a fund to aid poor countries harmed by the impacts of climate change.