Magnetic-field-induced first-order transitions in the intermetallic compound Pr2Fe17