The company disclosed “substantial doubt” about its ability to keep operating after Chevron, the refinery that buys all of its oil, stopped taking deliveries.