simplifies transparency check to only look for zeroes in all parameters....

... fixes overeager transparent keyword optimization

See additional comments in #257.