The problem is that Professor Daulatzai did not tell Southwest of her "life-threatening" allergy until she was on the plane thereby putting Southwest in a difficult position.  

It was the professor who was clearly in the wrong and not Southwest or the two passengers that brought their dogs on board.

Given her behaviour towards the flight crew and the police, it is the professor who deserved to be put in the hold.