A popular actor in India was released from jail on bail a day after he was arrested by police in connection with a stampede that led to the death of a woman.