AIADMK resigns