Path-integral approach to 't Hooft's derivation of quantum physics from classical physics