when did the us go to war over a pig