If problematic clauses not removed from UK Internal Market Bill by month's end, EU could start legal action, says official