Characterization and Extraction of Irredundant Tandem Motifs