The South Korean parliament has voted to lift the martial law, the speaker announced.