AC Milan beat Udinese 1-0 after playing with 10 men for most of their Serie A match while Juventus scraped a late 1-0 win over 10-man Lazio.