This swap, to me, makes more sense for Milan.
They need to get another CF, as they only have Pato and three SS at the moment, and when you factor in Cassano's desire to leave, it makes sense that he is the SS to make way.
I don't see how Cassano fits in at Inter and they still need to find themselves a backup for Milito.