Structures of a RAG-like transposase during cut-and-paste transposition