Children’s clothing chain Gymboree filed for Chapter 11 bankruptcy protection and plans to slash debt by closing several hundred stores.