The measure aims to stop a future PM bypassing Parliament to push through a no-deal Brexit.