Malaysia PM Mahathir Mohamad submits resignation to king amid turmoil