The ship had been stranded for over 2 months, as the Iran war continues to strangle international shipping