I agree with AHSmith's approach, except the resisting force should use the SATURATED unit weight minus the unit weight of water. I suppose if the flooding happened immediately, reaching around the pipe before the overlying soil got saturated then maybe use the normal (not dry) unit weight.
Carl