Stochasticity in radiative polarization of ultrarelativistic electrons in an ultrastrong laser pulse