Cook Government to transform Defence WA into stand-alone government agency amid scramble over submarines