Pfedit: avoid Undoing too much
Pfedit: avoid Undoing too much

 It seems that we can currently do a successful Undo (but not two!)
 on a freshly started Lemma. Let's add a depth check on Pfedit.undo
 to avoid that. This way, we cannot Undo to depth < 1 (with 1 being
 the initial depth of a lemma).

 Simplier implementation of Pfedit.restart : it is Pfedit.undo_todepth 1.

 This extra initial step in the Undo Stack has probably something
 to see with the Lemma argument introduction. For instance, before this
 patch we had:

 Lemma test n : n+0=n.
 Restart. (* now the goal is universally quantified ! *)

git-svn-id: 44dc50bdcc0f5d1a212c497508dc9452e0b35e2b@15075 85f007b7-540e-0410-9357-904b9bb8a0f7

Zimmi48/coq,letouzey/coq-wip,8l/coq,JasonGross/coq,william-lawvere/coq,maximedenes/coq,ppedrot/coq,william-lawvere/coq,amintimany/coq,barras/coq,amintimany/coq,JasonGross/coq,TheTypoMaster/coq,SkySkimmer/coq,coq/coq,ejgallego/coq,maximedenes/coq,TheTypoMaster/coq,coq/coq,Lionel-Rieg/coq,mlasson/coq,gmalecha/coq,mlasson/coq,gmalecha/coq,ale-f/coq,SkySkimmer/coq,aspiwack/coq,silene/coq,Zimmi48/coq,silene/coq,pirapira/coq2rust,pirbo/coq,Ptival/coq,ppedrot/coq,asr/coq,gares/coq,gares/coq,herbelin/github-coq,asr/coq,shindere/coq,gmalecha/coq,pirbo/coq,ejgallego/coq,ale-f/coq,ejgallego/coq,Zimmi48/coq,maximedenes/coq,pirapira/coq2rust,gares/coq,maximedenes/coq,letouzey/coq-wip,TOSPIO/coq,jpdeplaix/coq,Matafou/coq,JasonGross/coq,william-lawvere/coq,barras/coq,coq/coq,ppedrot/coq,SkySkimmer/coq,Ptival/coq,letouzey/coq-wip,Lionel-Rieg/coq,8l/coq,aspiwack/coq,barras/coq,ppedrot/coq,TOSPIO/coq,ale-f/coq,jpdeplaix/coq,letouzey/coq-wip,herbelin/github-coq,shindere/coq,ejgallego/coq,pirbo/coq,Matafou/coq,TOSPIO/coq,mlasson/coq,mattam82/coq,Zimmi48/coq,8l/coq,maximedenes/coq,jhjourdan/coq,Ptival/coq,TheTypoMaster/coq,letouzey/coq-wip,herbelin/github-coq,gares/coq,coq/coq,asr/coq,Matafou/coq,mattam82/coq,mattam82/coq,jpdeplaix/coq,SkySkimmer/coq,amintimany/coq,jhjourdan/coq,JasonGross/coq,shindere/coq,silene/coq,pirapira/coq2rust,Lionel-Rieg/coq,ppedrot/coq,gares/coq,jhjourdan/coq,aspiwack/coq