Emergent inabilities? Inverse scaling over the course of pretraining