After a series of dramatic twists and turns that could rival a daytime soap opera, South Korea’s Lotte Shopping is set to buy a 65.25% controlling stake in local electronics discount retailer Hi-Mart for W1.25 trillion ($1.1 billion), edging out private-equity fund MBK Partners, which apparently walked away from the table.