Club blames 'Spanish league regulations' for blocking deal despite sides agreeing to new contract, ending Argentine forward's 20-year career with squad