Competitive Devaluations: A Welfare-Based Approach