The PM has said MPs could be help deciding if the UK should go in to a Northern Ireland "backstop".