Parents lodged a police complaint that ragging at school had led their son to take the extreme step