Perhaps the US-backed invasion of Fidel Castro's Cuba was inevitable, but its failure bucked the trend.