Return const ref to RouteDistinguisher and EthernetSegmentId

Change-Id: Ie387d9c87902a7f70304771290307d3b625717d7