Early voting ends for South Korea election triggered by martial law