You cite Federalist 68, but forget that less than a year later Hamilton was gaming the electoral college.
The founders were humans. They had flaws and disagreements. Many parts of the Constitution are borne more out of political expediency than grand ideals, and the operation of the Electoral College is not exempt from these caveats.