Text this: Stochastic robot failure management in an assembly line under industry 4.0 environment