Malaysian PM Muhyiddin says govt will continue to function in emergency