Moldovans voted by a razor-thin majority in favor of securing the country’s path toward European Union membership, electoral data showed Monday, following a ballot that nearly caused a major setback for the pro-Western president, who accused “criminal groups” of trying to undermine the vote.