The president named Australia among the countries whose help he no longer needed or wanted as the US and Gulf states try to unblock the crucial Strait of Hormuz.