Washington state would replace a credit for business and occupation taxes due on a sale or exchange that also is subject to the state’s capital gains tax with a credit for taxes on gains that also are subject to B&O taxes, under a bill introduced in the state Senate.