Malaga boss to take over from Mancini after FA Cup heartache