Valero Energy reported better-than-expected revenue and earnings, yet faces significant year-over-year declines.