Miami federal judge rules in favor of close ally to Venezuel