Australia’s anti-corruption watchdog has been thrown into turmoil after the resignation of its founding commissioner.