BOSTON — The Massachusetts Senate has enacted a bill that would give the state's Electoral College votes to the presidential candidate who wins the national popular vote. The bill enacted by the Senate 28-9 Tuesday is part of a nationwide effort to secure the agreement of enough states so the winner of the national popular vote would be guaranteed to win the presidency. The bill will now be sent to Gov. Deval Patrick, who has said in the past he supports the bill.