A federal commission spent two years renaming nine military installations that had been named after Confederate soldiers.