Order-to-chaos transition in warm rotating 174W nuclei