Inter overturned their first-leg loss at San Siro and a 3-1 aggregate deficit as they earned a last-gasp 3-2 victory over Bayern Munich and booked their spot in the Champions League quarterfinals.