Kazakh PM resigns, government to be dissolved