Turkey’s ruling party has accepted the resignation of its deputy chairwoman