NY prosecutor resigns after order to drop Eric Adams case