From anomaly to fundament: Louis Poinsot's theories of the couple in mechanics