The search giant deemed an employee’s claim of sexual harassment against Mr. Singhal “credible” in an internal investigation, according to two people familiar with the matter who declined to be identified because they were not allowed to speak on the matter.