Education in England is in danger of being reduced to a “barebones, boilerplate model”, headteachers have said, after an embarrassing £370m government bungle forced them to plan for further cuts.