How did the gridlock between Whitlam and Fraser end