A fire broke out on a British Airways plane at Gatwick Airport last year after a pilot mixed up his left and right hands, an investigation has found.