US defense chief effectively bans Confederate flag