Luis Enrique leaves his role as Spain manager following their shock last-16 defeat by Morocco in the World Cup.