By pausing on Youtube I notice that Sokka's Boomerang couldn't have effected anything since the force from all the other attacks (mostly Aang's air blast) sent it flying upward before they joined together and hit Azula.
I also saw Azula blocked it with a shield of blue fire to escape.