Hamilton to close gap on polesitter Vettel at Hungarian Grand Prix