Save router-id before updating Quantum DB

If it's a disassociation the router-id needs to be stored
before updating Quantum DB

Fix bug MN-985

Change-Id: Id941d8763ca6496939db42cf48673d38a8be81d5