Qaim Ali Shah accepts resignation of Mirza