codegen: fix base case for simple assignments (no index or field selector).