Allow setting the formula multiple times.

The current scheme only allows for one formula per molecule, but
there is no restriction on calling SetFormula multiple times. If
this happens, there is a double delete OBPairData call.