Redeem script changes from Bitcoin Core 0.9.3