Indian court grants bail to Kashmiri rights defender in anti-terror case