Fixed simplest cases of append calls that have no effect aside from driving Go static analysis tools crazy. One issue remains (#784) since I'm not sure what would be the right behavior there.