The Ivory Coast and strongman Laurent Gbagbo are in their final days of conflict, according to a UN envoy.