Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: I02f61509a7eb20fc2275ffc2f7cd8de31334db18