remove krun dependence on parser code

@radumereuta @bmmoore please review
I put it in a while back, but it isn't really appropriate. It was just a mistaken fix for a bug that was better fixed another way. Brandon asked me to clean it up, so I did with this diff.