A man in a private security uniform stabbed nine people at a Minnesota shopping mall, before an off-duty police officer shot him dead.