The deal reached with leaders of the Cockroach Janta Party ended weeks of protests over examination paper leaks and irregularities in India's testing system.