A continuum multiphysics approach for the reconfiguration and healing of contractile microtissues