Xavi heading home to Barcelona in chronicle of a coaching job foretold