AC Milan beats Inter 1-0 to reach Italian Cup semifinals