Milan scramble to replace Flamini