Jordi Alba will leave Barcelona as a free agent at season's end, having spent 11 years in the first team