Long before revoking Kashmir’s autonomy, India had a ready plan to quell protests