Your foil was literally snapping off the vinyl after printing the lines parallel to the print head. As far as the new foil fixing the problem, maybe the foil tension at the end of the roll had something to do with it.
If you had rotated your image 15° or so, it would have fixed the problem also.