Myanmar’s military-backed party completed a sweeping victory in the country’s three-phase general election, state media said.