An investigation into the worst service interruption on the MTR’s East Rail Line in years has concluded that a software coding error was to blame for a control system failure that left tens of thousands of commuters stranded, the transport operator revealed on Monday.