Talks to reach a deal went into overtime the day after the UN summit was scheduled to finish in Azerbaijan