Fix Duct#append type parameter

It was wrong parameter type in Duct#append. It should bound output type to input type of appended Duct.