Judge said he had struck a balance between the need to protect police officers and their families and press freedom. Court had earlier granted an injunction order sought by police to bar anyone from publishing personal details of officers and their families