How to reset location_provider_allowed
You should be able to change it to blank by executing

settings put secure location_providers_allowed ' '


If that doesn't work, directly modify the file settings_secure.xml located at /data/system/users/0/. Look for the line containing location_providers_allowed and edit the value for it.