The abnormality detecting device for a tool and numerical control device, which is equipped with such a