the treaty regulated the status of the independent hungarian state and defined its borders