Check the current on the equipment grounding conductor, and also the bonding conductor from the equalpotential grid to the busbar for the bonding of the pumping equipment in the tub compartment. I have seen a few lately that show current at levels just below trip thresholds for the gfi breakers. Then the sporatic tripping starts with the slightest bump of current imbalance.