Fluid-mediated, brittle-viscous deformation cycles at the brittle-ductile transition