A “charter of values” is the latest effort by the French state to win Muslim hearts and minds.