Head of France's main funding body resigns amid acrimony.