The Spanish bank says it repaid “a relevant amount ” of the long-term loans extended by the ECB to help stabilize the banking system.