Luis Diaz and Porto defeat AC Milan in close battle