Paris Saint-Germain’s 33-match undefeated home record in European football came to a dissatisfying end as they were left needing a miracle to progress to the Champions League semi-final after a 3-1 loss to Barcelona.