ash: expand: Fix skipping of command substitution when trimming in evalvar