Edinburgh have agreed to rest captain Greig Laidlaw for five weeks following a request from the Scotland national team.