What compromise decided how many votes each state would have in the Senate and the House of Representatives