The federal government and a number of senate crossbenchers have struck a deal to pass some major industrial relations reforms.