How did delegates compromise on the issues of state representation in Congress , slavery trade, and the presidency?