[types] remove some unused, scary code around access paths
[types] remove some unused, scary code around access paths

This is weirdly duck typed and doesn't appear to be used at all.

Also clean up imports slightly.

libra/libra,libra/libra,aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra