4-hydroxy-tetrahydrodipicolinate synthase activity of dihydrodipicolinate synthase [cytosol]