which agreement solved the disagreement over whether slaves should be counted for the purposes of representation