British Airways tried to manage a firestorm over pilots who were accused of using racial slurs in emails and sending other offensive messages.