The UK government is considering its next steps after House of Commons Speaker John Bercow ruled out a third vote on the twice-rejected EU exit deal.