Malaysia's monarchy to rule on pathway out of political turmoil