Yvette Cooper spoke out hours after a Thai tanker was hit and set on fire as it attempted to transit the Strait of Hormuz