treating people equally, regardless of gender, sexuality, or ethnic origin
This is a very vague statement, you can apply to your convenience. You could say Damore broke the principle and justify any penalty against him. I could say you don't follow this civility premise by choosing your partner based on your gender.
Every country in the world has "ethno-nationalist views against immigrants", and things work fine.