The EU, the UK and many small nations rejected a pact that promoted carbon capture and omitted a commitment to move away from fossil fuels.