GM repays partial debt with IPO funds