The Masked Singer judge had a six-hour operation after a benign tumour was found