Ransome Virus - Device Administrator deactivation impossible
Clear the data of that app.
And try to remove that app from device administrator.

If it fail's then backup all important data and restore the device.
This will uninstall that app.