Returns the irrep of the specified symmetry on the specified leg.
References syten::TensorBlock< rank >::s, and SYTEN_ASSERT_DEBUG.