Arvind Kejriwal was released on bail to compete against Modi after being detained in March over a probe into corruption.