RAIB report says signaller accepted Transport for Wales train minutes before allowing tractor driver to use crossing.