The New South Wales government has overhauled the previous government's tax arrangements for Sydney's Star Casino, arguing thousands of jobs were at risk if it didn't do so.