The tech giant, under scrutiny over a data lapse, has scrapped plans to bid for a high-profile contract.