Several countries and the EU rejected the deal over its failure to refer to the need to phase out fossil fuels.