Plans to upgrade part of a major cycle and pedestrian route linking Sunderland and Washington have been given the green light.