Milan to swap Pato for Ramos