Memphis plant that uses potentially hazardous chemical will close, company says