New legislation to deal with the Troubles legacy will be set out in the coming weeks.