James G. Blaine and United States mediation in the War of the Pacific