Scotland led 3-0 with 20 minutes to play but were pegged back and eliminated from the competition, with the equaliser a retaken penalty