librustc: Allow mutable box substructure to be borrowed without requiring purity. Closes #4825.
auto merge of #4826 : pcwalton/rust/inhtwama-substructure, r=catamorphism

...g purity. Closes #4825.

r? @nikomatsakis