Real Mallorca scored four goals in 30 minutes to wipe out a two-goal first-leg deficit and turn the tables on fellow Primera Liga side Osasuna with a 4-0 win at Son Moix.