A man has been jailed for five years after pleading guilty to an assault in a Stevenage pub which left the victim permanently blind in one eye.