Flick ready to walk away as one of Munich’s most successful coaches