Make sure the solution satisfies hanging node constraints after solution transfer

As discussed on the deal.II mailing list.

Timo -- I don't have the resources right now to test this. Can you throw it on the tester before merging?
They're not. I've added a long comment.