Perhaps you missed the principle of law that states an agreement entered into under duress is null and void.
And perhaps you missed the part where SCOTUS ruled that requiring western teritories cede the unappropriated lands to the US Government as part of their application for admission as a state was constitutional.