Shear-thinning and isotropic–lamellar–columnar transition in a model for living polymers