Apple to hand out iTunes credits in settlement