Barber refuses haircut to Dalit, relents following official intervention