Duration of defensive pacts in late game
Solution 1:
Defensive pact is automatically disbanded when the civilization you have it with declares war itself to anybody else. Your people don't like to have defensive pact with somebody such aggressive that he declares war to anybody else.
That is quite good thing otherwise, because you have free hands to help or not to help attacked civ or anything else.