Vanishing discount limit and nonexpansive optimal control and differential games