Genesis of the trinity: the convergent evolution of trirelational kinterms