Search and destroy the jtag_tap_t typedef. This also cleans up a layering violation, removing the declaration from types.h.