Family of equations of state based on lattice QCD: Impact on flow in ultrarelativistic heavy-ion collisions