"If, however, an ox was previously in the habit of goring and its owner has been warned, yet he does not confine it and it kills a man or a woman, the ox shall be stoned and its owner also shall be put to death.