i did this to my valve cover once...and one blessed man told me the following.
use a small screwdriver and try to hook that little piece of screw thats still left in there, usually it leaves a little ridge that you can take a small screwdriver and hammer and slowly tap the bolt backwards until it becomes loose and you can get it out of that hole.
understand?
worked great for my valve cover issue