Defence has dramatically changed course as doubts grow over how long the 30-year-old Collins-class fleet can stay afloat.