Xavi Hernández’s Qatari club has agreed to let him become Barcelona’s next coach upon payment of release clause