Voluntary dying law off to NSW upper house