The etymology of hysterectomy is not sexist. “Hyster” comes from Greek “hystera” for uterus.
What is sexist is that emotional instability was historically associated with the uterus. The etymology of hysteria is sexist. The etymology of hysterectomy is not.
I do not agree there is any problem with using the term hysterectomy to mean removal of the uterus. I do see a problem with using the word hysteria to denote emotional instability.