General Barrios , president irepubliken