If you read the article you will see that the students would/could have lunch - but they had to have it provided by their homes. They were throwing away the school-provided lunches because they did not value that food.

I think the "punishment" absolutely fit the crime. Of course, I am a product of Catholic schools and they are famous for the discipline they value and instill.