Bangladesh president dissolves parliament, frees former PM Zia