Pakistan exited the World T20 after winning just one of their four games in Group 2.