Obviously I can't visualise your setup, but how about a simple overflow in the side at the top of the IBC, running through a hose into a drain/the garden?
It might be it's not possible given your layout, but if it is, it's simple and pretty foolproof. As long at the overflow pipe is the same diameter as (or preferably bigger than) the inflow, there should be no problem.
Vin