South Korea’s prime minister resigns after his name appears on a tycoon’s suicide note