American Airlines offers to triple pilots’ pay after glitch causes scheduling mess