N. Ireland: PM May 'committed' to avoid hard border