Google has some complicated lessons to learn from the James Damore case