Judge finds that police based bids on material found in previous, illegal review of devices, during investigation of alleged harassment of state witness against PM