I had to do this after 4.4 update that caused a boot loop .... the Nexus Root Toolkit can handle this without any effort and pretty much handles it all ...
See also this post.
I ran into the same issue ... some searching showed me that the Nexus Root Toolkit can fix this in a matter of minutes ...
See also this post how to fix a Nexus 7 stuck in a boot loop.