France backs compromise between Libya’s rival legislative chambers