Genetic and mechanistic diversity of piRNA 3' end formation