Apple Inc. failed to convince an administrative tribunal to cancel part of a digital messaging patent the company’s being sued for infringing, …