The alias checker would only deref once for autoderef, and only deref boxes. It should now do the right thing. Closes #725.