Judge pulls no punches in ruling against NSA program