Catalysis of the reaction: 1,4,5,6-tetrahydro-6-oxonicotinate + 2 H(2)O = 2-formylglutarate + NH(4)(+).