Got the same issue for Nexus 4 with "Your sim card doesnt allow a connection to this network" and it's solved.
You don't need to ROOT anything or Reset to factory's settings!
How-To Fix (LG Nexus 4):
Switch between Aeroplane Mode ON/OFF, reboot your device and Voila! :)