A compactness result for periodic multivortices in the Electroweak Theory