Court rules insurers can collect $12B under health care law