A simple 0.47 uH + 4.7 uF LC filter per phase yields a -20 dB attenuation at 400 kHz while having a negligible effect at the PWM frequency and below. Consider trying that first. The capacitors should be grounded together at the floating ground.
Consider using toroidal inductors and film capacitors.