Qualcomm owes Apple nearly $1 billion in rebate payments, judge says in preliminary ruling