Joint merging and pruning: adaptive selection of better token compression strategy | Synapse