Aiming to play the traditional role of healer during national tragedy, President Donald Trump paid visits Wednesday to cities reeling from mass shootings that left 31 dead and dozens more wounded. But his divisive words preceded him, large protests greeted him and biting political attacks soon followed.