Two flight attendants were treated on-site for smoke inhalation, and passengers were rebooked onto other flights