Cores and revived cusps of dark matter haloes in disc galaxy formation through clump clusters