Viscous fingering of a thixotropic fluid in a porous medium or a narrow fracture