Added rechecking for docking during the night.

This tries to recover from the case when nav to docking fails and therefore the robot can't charge or perform its night tasks (which charging is a precondition for). In the case where the battery is low this change is not necessary as there are other checks for this, but this is needed in the case where there is no other pressure to dock.