Former Turkish interior minister resigns from AK Party