Opponents defeated the measure by a margin of 52.8% to 47.2%, the National Electoral Commission said. The result puts the divisive issue to rest for now.