JetBlue pilot to have mental exam