Turkish MP resigns from ruling party