EU grants UK Brexit extension until Oct. 31