Milan moved into the football Champions' League group stage with a 3-1 aggregate win over Red Star Belgrade in the third qualifying round.