South Korea’s parliament voted to ban the production and sale of dog meat, a historic move that will end the centuries-old practice after years of controversy, debate and waning popularity.