New Victorian trains to cost almost $1b