Kejriwal’s surprise resignation catapults a party founder to power, but corruption allegations and upcoming elections pose daunting challenges.