A longstanding discrimination against Northern Ireland passengers on the Belfast-Dublin train is to be ended in a fortnight, Translink has said.