Universality for the critical lines of the eight-vertex, Ashkin-Teller, and Gaussian models