NYY@BOS: Hanigan takes pitch off hand, leaves game