Thousands of passengers were delayed worldwide after a computer glitch temporarily halted departures at United Airlines.