The attacks came amid heightened concerns about crime in the subways, particularly after the arrest Sunday of a man charged with setting a woman on fire on a subway car.