I resign in best interests of country, democracy: Rashid