Star K-pop producer of NewJeans quits after legal spat with BTS agency