Trump sides with dockworkers union on automation issue as contract negotiations loom