Defence Minister Richard Marles was not informed until after US submarine with three Australian Navy personnel onboard sank an Iranian frigate.