South Korean elections spring surprise boost for president