The capacitors couple the noise generating brushes to a faraday cage, formed by the motor metal. Thus the EMI is not going to be radiated from the long power wiring and cause interference. You can use 3 class Y capacitors in a triad, with them connected between line, neutral and the motor case, so that any RF noise will be attenuated, instead of radiating from the motor metal and the mains cord. You can use 3 10-47n class Y 275V capacitors there, typically a nice blue ceramic type, or a WIMA film type, your preference.
Vacuum cleaner has lasted well, 40 years in operation, check the brushes are not worn and arcing, which could have sent off the old suppression unit, though they do die of old age, as they are paper film capacitors, yours looks like ERO made, but you do get new replacements for them.