A crucial bypass in Leeds is set to shut overnight for a bridge inspection.