France: Rival Libyan factions commit to ceasefire after Macron meeting