Head of French armed forces quits over budget cuts