### Apache Airflow version

2.6.3

### What happened

Select tasks from List Task Instance page in UI and select clear
Only those tasks are cleared and downsteam tasks are not also cleared as they are in the DAG graph view

### What you think should happen instead

downstream tasks should also be cleared

### How to reproduce

Select tasks from List Task Instance page in UI for which there are downstream tasks and select clear

### Operating System

rocky

### Versions of Apache Airflow Providers

_No response_

### Deployment

Official Apache Airflow Helm Chart

### Deployment details

_No response_

### Anything else

_No response_

### Are you willing to submit PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)

owner_links_dict = DagOwnerAttributes.get_all(session)
            import_errors = select(errors.ImportError).order_by(errors.ImportError.id)
            if (permissions.ACTION_CAN_READ, permissions.RESOURCE_DAG) not in user_permissions:
                
                import_errors = import_errors.join(
                    DagModel, DagModel.fileloc == errors.ImportError.filename
                ).where(DagModel.dag_id.in_(filter_dag_ids))
            import_errors = session.scalars(import_errors)
            for import_error in import_errors:
                flash(
                    f"Broken DAG: [{import_error.filename}] {import_error.stacktrace}",
                    "dag_import_error",
                )
        from airflow.plugins_manager import import_errors as plugin_import_errors
        for filename, stacktrace in plugin_import_errors.items():
            flash(
                f"Broken plugin: [{filename}] {stacktrace}",
                "error",
            )
        num_of_pages = math.ceil(num_of_all_dags / dags_per_page)
        state_color_mapping = State.state_color.copy()
        state_color_mapping["null"] = state_color_mapping.pop(None)
        page_title = conf.get(section="webserver", key="instance_name", fallback="DAGs")
        page_title_has_markup = conf.getboolean(
            section="webserver", key="instance_name_has_markup", fallback=False
        )
        dashboard_alerts = [
            fm for fm in settings.DASHBOARD_UIALERTS if fm.should_show(get_airflow_app().appbuilder.sm)
        ]
        def _iter_parsed_moved_data_table_names():