Luis Enrique's side flirted with league-phase elimination en route to winning a maiden Champions League title