Judge who nixed drilling ban has oil investments