Fix recomputation of TypeRep in Typeable instance (#9203)

Signed-off-by: Austin Seipp <austin@well-typed.com>