England on brink of 2nd Test defeat as Root falls in final over