Manchester United led 2-0 at Porto before a defensive collapse allowed the hosts back into the game