California residents don’t have to pay for and pass a background check every time they buy bullets, a federal judge has ruled.