Kern County Superior Court Judge Bernard C. Barmann Jr.’s preliminary decision comes two years after California formally banned fracking and five years after it stopped approving fracking applications.