well the "blast self free" would be something like bug hunt in timing, if a unit can't path more the X tiles away from start point for Y turns, check if weapons can breach nearby surfaces, if yes pick at random and fire/swing. Tie to aggression value so hyper aggressive units start breaking shit quickly, low aggression stuff like civilians almost never.