The president visited a historic Black church in Charleston, where nine worshippers were killed by a white man.