Corrects bug #2959 (error during Qed leads to assertion failure).

Well-placed [Proof.transaction]-s do the trick.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/branches/v8.4@16226 85f007b7-540e-0410-9357-904b9bb8a0f7