Integral equation theory of polymer melts: intramolecular structure, local order, and the correlation hole