Premier Chris Minns says a planned shutdown of the train network this weekend will no longer go ahead after an agreement was reached between the union and the NSW government.