Treaty of haddington