The gunman, whose home burned on Wednesday morning, was also dead, the authorities in Santa Clara County, Calif., said. They believe explosive devices were left inside the rail facility.