Every software developer knows that removing (unused) code makes software less vulnerable because it reduces the attack surface. That's a fact.
Nobody is disagreeing with your "fact" here but what nobody agrees with is your false assumption that there is
unused code or features in Electrum that needs to be removed.
Maybe you should explain explicitly why you think a certain feature is unused?