Catalyzes the cyclization of D-sedoheptulose 7-phosphate to 2-epi-5-epi-valiolone. D-sedoheptulose 7-phosphate = 2-epi-5-epi-valiolone + phosphate Belongs to the sugar phosphate cyclases superfamily. EEVS-like family. Truncated N-terminus.