In a memo to employees, CEO Sundar Pichai said the employee who penned a controversial memo had violated its Code of Conduct.