Improve BiCGSTAB robustness: fix a divide by zero and allow to restart with a new initial residual reference.