United Airlines has grounded all US flights while it deals with a computer glitch, the second time this has happened in the last month for the airline.