Korea Republic were guided to the knockout stage by Paulo Bento, who will leave after four years in charge