Particle regeneration technique for Smoothed Particle Hydrodynamics in simulation of compressible multiphase flows