Newsom vetos illegal law