Labour to back public vote on May's deal