ILWU, APM agree to automated LA terminal training