Predicting residual strength of composites after cyclic loading