Japan says it may deploy forces for minesweeping in the Strait of Hormuz if a ceasefire is reached, as oil route tensions persist.