Converts a variable type to a corresponding atomic type and updates the variable's usages using the
Type Migration
refactoring.