Malaysia's Muhyiddin says resigned after losing confidence of parliament