A Texas rabbi threw a chair at the gunman before he and two other hostages escaped