actorlib/structuring/Cast: support inversion