Can not uninstall standard Android keyboard or get it back working
Maybe  you can remove manually using adb shell.

adb remount  
adb shell 
adb su 
cd system  
cd app 
rm yourapkname.apk -> Change to the apk you want to remove 
reboot