Pakistan's T20 World Cup journey ended in disappointment when they failed to qualify for the Super 8 stage.