Updated

Thai prime minister resigns as party leader after ruling coalition's electoral defeat.