United also secured European football in what could be Erik ten Hag’s last match in charge