Healey, the Massachusetts Attorney General, overwhelmed her Republican opponent, Geoff Diehl, to put the governorship back in Democratic hands after Republican Gov. Charlie Baker didn’t run again.