Motors can draw quite enormous startup surges, any reasonably sized capacitor is likely to not be enough. What you could try is adding a RC filter in the current sense feedback loop to slow down the response slightly, however there is some risk that the power supply will be damaged by the momentary surge. You could also try a NTC inrush limiter in series with the compressor.