What was the main agreement in the private Treaty of Velasco?