Which compromise settled the issue of how slaves would be represented in Congress?