EXHIBIT 10.4 SECOND AMENDED AND RESTATED TAX ALLOCATION AGREEMENT by and between PLAINS RESOURCES INC.