Demonstrators faced off with riot officers overnight after the police shot and killed Keith L. Scott while trying to serve an arrest warrant on someone else.