Joann to close 500 stores — most of its chain — after filing for second bankruptcy