Fix view compilation for the case when a view uses another view
type:fixed
Fixes #1451 (closed)
Fix remove_unused_for_views
filter used_var
of any view binder name because the views will be added at the end.
If we do not filter the used_var
there will be multiple instances of the same view function
Changelog details: