Peter Chiarelli gets 4-year contract extension