Peacock confirmed her departure after podcast clips of her using the N-word went viral, raising questions about the show’s vetting process.