Roy Williams's attempt to portay the inner workings of the police ends up as a box-ticking exercise, says Dominic Cavendish