Self-healing generation of spatial solitons in liquid crystals