In some consolation for French President Francois Hollande, Socialists retained control of Paris city hall.