An investigation found the undisclosed romantic relationship with a direct subordinate violated Nestlé’s code of conduct.