How did African Americans help strengthen the Republican Party in the south?