Minimax theorems for limits of parametrized functions having at most one local minimum lying in a certain set