Malaysia's Muhyiddin quits as PM, agrees to caretaker role