use resetLocalAttrs rather than resetAllAttrs

https://twitter.com/xeno_by/status/431787958635855872
https://github.com/scala/scala/pull/3485