The Response of Dark Matter Haloes to Gas Ejection: CuspCore II