Suspect struck Brooklyn subway rider with hammer