Pakistan crash out of Championship despite beating Bangladesh