U.S. opted to vacate warships from Black Sea before Ukraine war, general says