The chairman and chief executive of American Airlines resigned Thursday as labor leaders and negotiators for the carrier agreed to a sweetened package of cost cuts in an effort to keep the company out of bankruptcy.