NBC News: South Korean prime minister offers to resign after parliamentary election defeat