remove local assignments for a single line expr