Didn't Edward resign because of backlash from the agreement with France? How is it that Gladstone was elected with the policy of increasing relations with the French even further, then?