Work to separate carriages on derailed train to begin