Will your AC pump run on DC? (i.e. a universal motor).
You could use a couple of relays, fed from each supply which are energised to send the AC to the pump. The relays would be cross connected so that when one is energised, the other is inhibited.
You may be able to get away with one change...