Hadron formation in deep-inelastic positron scattering in a nuclear environment