Unraveling why we sleep: Quantitative analysis reveals abrupt transition from neural reorganization to repair in early development