Send no-path DAO only when the dag has a preferred parent

In the current code, the preferred parent is updated before the no path DAO is sent, meaning that the no-path DAO is sent to the new parent (which ignore it) resulting of route duplication in the DODAG