Förskolor och fritidshem får bara hålla stängt för planering eller utbildning fyra gånger om året, enligt ett JO-beslut.