Modern defamation law reform passed in NSW