Four students have been detained over the alleged strangling of a fellow student at a Jharkhand residential school.