Turkey's ruling AK Party deputy resigns