Arrest in pipe attack on Bed-Stuy subway rider