Shielding of energy deposition by ablation of plastics under intense pulsed ion beam irradiation