Apple settles lawsuit over throttling iPhone battery