Chile coach Marcelo Bielsa has resigned, citing differences with the country's football association as the reason for his decision.