The Assembly has approved the post-Brexit arrangements in the Windsor Framework following a marathon debate at Stormont on Tuesday.