How did the Compromise maintain the balance of power in the Senate?