GM to eliminate shift, lay off 1,300 workers at Detroit plant