patch dynamic allocation bugs in POLEDIT and VALENCE

git-svn-id: svn://dasher.wustl.edu/tinker@35 9dbd3ec4-0870-4ad8-bd6a-181c4f7deb04