GM closing Chandler plant, laying off hundreds