President Mohammed Shahabuddin dissolves parliament, clearing way for new elections after longtime PM resigns