Malaysia’s king on Monday accepted Prime Minister Mahathir Mohamad’s shocking resignation but reappointed him as interim leader.