The passage of the __________ in 1787 established both the political and legal rights of settlers in territories that were not states and the precedent for a procedure to establish new states.