Resignation of Qaim Ali Shah accepted