This is something that was pointed out when they first made the change to slimes. Back then they used to do their spike attack a lot more often so bombing them became almost impossible because you could push them back or kill them and their spikes would still come up. The "solution" was to reduce the frequency of their spike attack so it was still annoying but it was annoying less frequently.
This will never get fixed as I think it's an issue with the way the attack is coded.