remove and reinsert formula cell from/to tree during CompileXML

... to keep the count updated, which actually silences the dbgutil
warning of ScDocument::RemoveFromFormulaTree() when loading .ods

Change-Id: I8453d688ca673a47fee15c84478262e1da53e408