The thing is, even without Rowling ripping the mask off, muggle was always a fucked up term to use in this context because it's literally describing a group of people who are treated as second class citizens on the basis of an immutable biological characteristic, a situation that is basically never interrogated throughout the books. The fundamental ideological divide between the villains and the heroes is basically "We should enslave or exterminate the muggles" vs "We should treat the muggles like unfortunate idiot children." In retrospect, it wasn't actually all that surprising that Rowling turned out to be a gender-essentialist (and I do say that as someone who used to be a fan).
Sidenote, this is why Witch Hat Atelier absolutely kicks the pants off of Harry Potter.