Australia has joined international allies in committing to protect the Strait of Hormuz, a vital oil shipping lane, which has been virtually shut by the Iran conflict.