Figuring out how to comply with complex rules has become one of the top concerns for shipping since Washington tightened its enforcement of sanctions against Iran, Venezuela and North Korea.