A crude pipe bomb strapped to a man inspired by the Islamic State group went off Monday in a crowded subway corridor, injuring the man, slightly wounding three others and snarling the rush-hour commute of New York workers.