Document sets out ensuring rights of EU citizens in UK and promise of no hard border in Ireland as well as financial issues