A viscoelastic model of blood capillary extension and regression: derivation, analysis, and simulation