Former prime minister Malcolm Turnbull has criticised previous defence minister Peter Dutton over the handling of the nuclear submarine deal.