Theresa May is also sharply critical of proposals for the Irish border put forward by some Brexiteers.