Frankrikes tidigare president Nicolas Sarkozy kan komma att släppas ur fängelse i väntan på ny rättegång.