President Donald Trump says he will not consider renaming military bases named for Confederate commanders despite growing support.