Carolina Mills said it will lay off more than 300 workers as it shuts down its three remaining yarn plants by 30 June.