The pilot of the TransAsia Airways plane that crashed into a Taipei river had made a fatal mistake moments before by switching off the working engine after the other lost power.