The Evolution of Small RNA-Mediated Silencing of an Invading Transposable Element