Assault took place after a youth from the victim’s family defied a caste panchayat’s ban on the family entering the local temple; videos show bystanders watching and recording on mobile phones