Time-dependent failure in fiber-reinforced composites by fiber degradation