Court raps cops for laxity in probe