GOP’s changes to health care bill reward states to court votes