The regular Android can't change it to another search provider (or at least I don't find the option). Anyway you can remove that Google bar disabling the corresponding app, called "Search", going in Settings-->Apps:
Then you can add the DDG widget.
Nice to see somebody else that completely removed GApps. :)